<%--
  Created by IntelliJ IDEA.
  User: 23377
  Date: 2021/12/13
  Time: 17:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <%
        pageContext.setAttribute("APP_PATH",request.getContextPath());
    %>
    <link href="${APP_PATH}/static/bootstrap-3.4.1-dist/bootstrap-3.4.1-dist/css/bootstrap.min.css" rel="stylesheet" />
    <script type="text/javascript" src="${APP_PATH}/static/js/jQuert-min-3.js"></script>
    <script type="text/javascript" src="${APP_PATH}/static/bootstrap-3.4.1-dist/bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>

</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>修改信息</small>
                </h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/book/updateBook"
          method="post" class="form-inline">
        <input type="hidden" name="bookId" value="${book.bookId}"/>
        <label>
            书籍名称：
            <input type="text" name="bookName"
                   value="${book.bookName}" class="form-control"/>
        </label>
        <label>
            书籍数量：
            <input type="text" name="bookCount"
                   value="${book.bookCount}" class="form-control"/>
        </label>
        <label>
            书籍详情：
            <input type="text" name="detail"
                   value="${book.detail}" class="form-control"/>
        </label>
        <input type="submit" value="提交" class="btn btn-primary"/>
    </form>
</div>
</body>
</html>
